import copy

A = [1, 2, 3]
B = [A, 4, 5, 6]

print(B)
C = copy.deepcopy(B)  # 深拷贝拷贝的不会是饮用
A.append(3.1)
print(B)
print(C)
